<%@ include file="../../taglibs.jsp" %>
<stripes:form action="/resume/Resume.action" partial="true">
    <td>
        <stripes:label name="labelPlace"/>
    </td>
    <c:choose>
        <c:when test="${!empty requestScope.actionBean.cities}">
            <td>
                <stripes:select name="resume.fkCityId">
                    <stripes:option value="">
                        <fmt:message key="page.createresume.choose"/>
                    </stripes:option>
                    <stripes:options-collection collection="${actionBean.cities}"
                                                label="name"
                                                value="id"/>
                </stripes:select>
            </td>
        </c:when>
        <c:otherwise>
            <td>
                <c:out value="${requestScope.actionBean.resume.city.name}"/>
            </td>
        </c:otherwise>
    </c:choose>
    <td>
        <div class="fielderror">
            <stripes:errors field="resume.fkCityId"/>
        </div>
    </td>
</stripes:form>
